Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@tikkhun/config-core
Advanced tools
config 其实就是将分布式的配置源合并起来, 最终将他转化成集中式管理的一个配置文件.
并且实现get set reset remove 的api操作.
实现 load 方法让 config 可以从source处加载到配置对象.
经常使用.env进行配置,但经常需要转换成对象使用 默认分隔符为__ 一般不会冲突
存储所有加载的配置 并且可以获取这些配置 默认使用memorystore. 你可以编写自己的store
详见example
import { DEFAULT_ENV_MANAGER } from '@tikkhun/config';
console.log(`env`, DEFAULT_ENV_MANAGER.get()); // 获取全部
console.log(`env`, DEFAULT_ENV_MANAGER.get({ path: 'c.c.c' })); // 支持 path形式获取
FAQs
config 其实就是将分布式的配置源合并起来, 最终将他转化成集中式管理的一个配置文件.
We found that @tikkhun/config-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.